package com.xiaoli.mss.support;

import java.util.List;

/**
 * Created by my on 2018/2/28.
 */
public class PageableRestfulMessage<T extends List> extends RestfulMessage{
    private Long total;

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public PageableRestfulMessage(Integer code,String msg, Long total,T data){
        super(code,msg,data);
        this.setTotal(total);
    }
}
